<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var obj = {
            name:'zhangpeng',
            age:18,
            sing:function(){
                console.log(this[4]);
                console.log('精神小伙');
            }
        }
        var  arrs = [1,2,'a','b',[3,4,5]];

        function test(num1,num2){
            console.group('函数内的打印:')
            console.log('num1:',num1)
            console.log('num2:',num2)
            console.log('this',this)
            console.groupEnd
        }

        // obj.sing() //此时 对象的键对应的方法中的this 代表的 对象本身  

        obj.sing.call(arrs) 




    </script>
</body>
</html>